package com.sun.asyncimporttask.dto;

import com.sun.asyncimporttask.enums.ImportStatus;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 任务信息DTO
 */
@Accessors(chain = true)
@Data
public class TaskInfo {
    private String taskId;
    private String originalFilename;
    private ImportStatus status;
    private String errorFileUrl;
    private LocalDateTime createTime;
    private LocalDateTime finishTime;
    private Integer totalCount;
    private Integer successCount;
    private Integer failCount;
}